<div id="statistic">
	<h2>各種統計情報</h2>
	<ul>
		<dd>ユーザ数合計:</dd><dt><?php echo $nbUser;?></dt>
		<dd>アクティブユーザ数合計:</dd> <dt><?php echo $nbActiveUser;?></dt>
		<dd>クラス数合計:</dd><dt><?php echo $nbCourse;?></dt>
	</ul>
	<h2>カテゴリー</h2>
	<ul>
		<?php foreach ($categories as $c):?>
		<dd><?php echo $c['Category']['name'];?></dd>
		<?php if($c['Course']['total_course']): ?>
		<dt><span class="number"><?php echo $c['Course']['total_course'];?></span></dt>
		<?php else: ?>
		<dt><span class="number">0</span></dt>
		<?php endif; ?>
		<?php endforeach;?>
	</ul>
	<h2>エリア</h2>
	<ul>
		<?php foreach ($areas as $a):?>
		<dd><?php echo $a['Area']['name'];?></dd>
		<?php if($a['Course']['total_course']): ?>
		<dt><span class="number"><?php echo $a['Course']['total_course'];?></span></dt>
		<?php else: ?>
		<dt><span class="number">0</span></dt>
		<?php endif; ?>
		<?php endforeach;?>
	</ul>
</div>
<div class="section">
	<h2>ユーザ情報のダウンロード</h2>
	<ul>
		<li><?php echo $this->Html->link('全ユーザ情報のダウンロード', array('controller' => 'pages', 'action' => 'admin_export/profile'));?></li>
		<li><?php echo $this->Html->link('全ユーザの口座情報のダウンロード', array('controller' => 'pages', 'action' => 'admin_export/bank'));?></li>
	</ul>
</div>